from zope.interface import Interface
from zope import schema
from zope.app.container.interfaces import IObjectEvent

class IShortURLAnnotations(Interface):
    """Provide access to the annotations of an IBobble object.
    """

#
class IAnnotationDecider(Interface):
    """Decide whether an object should be enhanced with annotations.

    This will normally be looked up as a utility.
    """

    def provideInterfaces(object):
        """Let the object also provide our interfaces.

        Implementations should check if the object already provides
        that interface.  Meaning: if should be safe to call this
        function even if the object already provides that interface.
        """

class IShortURL(Interface):
    """Marker interface for bobble urls.
    """

class IShortURLTool(Interface):
    """The IBobblesTool
    """

class IBrokenImage(Interface):
    """The IBobblesTool
    """